package com.lizhen.behaviorpattern.mediatorpattern;

import java.util.Date;

public class ChatRoom {
    public ChatRoom() {
    }

    public static void showMessage(User user, String message) {
        System.out.println((new Date()).toString() + " [" + user.getName() + "] : " + message);
    }
}
